{extend name='common/dialog'}
{block name='content'}
<div class="row">
    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <form class="form-horizontal" data-toggle="validator" method="POST" role="form" data-loading="3">
                    <div class="form-group">
                        <label for="title" class="control-label">标题</label>
                        <div class="form-item">
                            <input type="text" class="form-control"  name="row[title]" id="title"
                                   placeholder="请输入标题" value=""/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="subtitle" class="control-label">副标题</label>
                        <div class="form-item">
                            <input type="text" name="row[subtitle]" placeholder="请输入副标题" class="form-control" value="" id="subtitle">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="add-img_path" class="control-label">轮播图</label>
                        <div class="form-item">
                            <button type="button" class="btn btn-sm btn-danger webupload" id="add-img_path"
                                    data-input-id="c-img_path"
                                    data-preview-id="img_path">轮播图上传
                            </button>
                            <input type="hidden" name="row[img_path]" id="c-img_path" value="">
                            <ul class="list-inline clearfix lyear-uploads-pic" id="img_path">
                            </ul>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="order_key" class="control-label">文字浮动方向</label>
                        <div class="form-item">
                            <select name="row[text_align]" class="form-control">
                                <option value="">请选择</option>
                                <option value="text-left">左浮动</option>
                                <option value="text-center">居中</option>
                                <option value="text-right">右浮动</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="order_key" class="control-label">排序</label>
                        <div class="form-item">
                            <input type="number" name="row[order_key]" class="form-control" value="50" id="order_key">
                        </div>
                    </div>
                    <div class="form-group hidden layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-success btn-embossed disabled">提交</button>
                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{/block}
